//
//  BaseInfoIconCell.m
//  CenturyCity
//
//  Created by beisheng03 on 2018/1/9.
//  Copyright © 2018年 beisheng. All rights reserved.
//

#import "BaseInfoIconCell.h"

@interface BaseInfoIconCell ()
@property (weak, nonatomic) IBOutlet UILabel *leftLabel;

@property (weak, nonatomic) IBOutlet UIImageView *rightImageView;



@end

@implementation BaseInfoIconCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.leftLabel.font = MYFONT(16);
    
    self.rightImageView.layer.cornerRadius = 35;
    
    self.rightImageView.layer.masksToBounds = YES;
    // Initialization code
}


- (void)setModel:(EditMyInforModel *)model{
    _model = model;
    
    if (_model.selectImage) {
        
        self.rightImageView.image = _model.selectImage;
        
    }else{
        
        self.rightImageView.image = [UIImage defaulIconImage];
        
    }
    
    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
